const startTime = Date.now();
while (Date.now() - startTime < 3000) {
  continue;
}
const div = document.querySelector('div');
console.log('div', div);
